package com.kitty.game.team.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.annotation.StringField;
import com.kitty.mina.message.Message;
import org.nutz.json.ToJson;


/**
 * 屏幕中央显示
 */

@ToJson
@MessageMeta(module = Modules.MSG_DIALOG_OK)
public class RespMsg extends Message {
   
    @StringField(1)
    private String msg;
   
    private short active = 0;
   
//    private short mode = 0;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public short getActive() {
        return active;
    }

    public void setActive(short active) {
        this.active = active;
    }

//    public short getMode() {
//        return mode;
//    }
//
//    public void setMode(short mode) {
//        this.mode = mode;
//    }

    public RespMsg() {

    }

    public RespMsg(String msg) {
        this.msg = msg;
    }
}
